package com.richie696.mongodb.entity;

import lombok.Builder;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Tolerate;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@Builder
@ToString
@Document("lg_resume_data")
public class Resume implements Serializable {

    private String id;
    private String name;
    private String salary;

    @Tolerate
    public Resume() {
    }
}
